package com.my.coolq.strategy.request.impl;

import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import com.my.api.response.member.AddFriendResponse;
import com.my.coolq.strategy.ReceiveMessagesHandleStrategy;
/**
 * 加好友请求
 * @author ch
 *
 */
@Component
public class AddFriendRequestHandleStrategy implements ReceiveMessagesHandleStrategy{
	
	private static final Logger LOGGER = LoggerFactory.getLogger(AddFriendRequestHandleStrategy.class);

	private static final String REQUEST_TYPE="request_friend";
	
	@Override
	public String getPostType() {
		return REQUEST_TYPE;
	}

	@Override
	public Object handle(Map<String, Object> params) {
		/*try {
			AddFriendRequest req = MapUtils.toObject(AddFriendRequest.class, params);
			LOGGER.info("request_friend  req={}",req);
		}
		catch (Exception e) {
		}*/
		return new AddFriendResponse();
	}

}
